/*
 * Apache License Version 2.0, January 2004 http://www.apache.org/licenses/
 * 
 * Copyright 2009 by Sebastián Zaffarano
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
 * the License. You may obtain a copy of the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 */
package org.sigedu;

import org.apache.tapestry5.ioc.Configuration;
import org.apache.tapestry5.ioc.MappedConfiguration;
import org.apache.tapestry5.services.LibraryMapping;

/**
 * @author sebas
 * 
 * @version $Id$
 */
public class ComponentsModule {
	public static void contributeComponentClassResolver(final Configuration<LibraryMapping> configuration) {
		configuration.add(new LibraryMapping("sigedu", "org.sigedu"));
		configuration.add(new LibraryMapping("sg", "org.sigedu"));
	}

	public static void contributeFactoryDefaults(final MappedConfiguration<String, String> configuration) {
		configuration.add("yui", "classpath:yui");
	}

}
